package com.schedualnew.mq.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.schedualnew.mq.entity.DictExamItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DictExamItemMapper extends BaseMapper<DictExamItem> {
    int exist(DictExamItem paramDictExamItem);

    int save(DictExamItem paramDictExamItem);

    int update(DictExamItem paramDictExamItem);

    int delete(DictExamItem paramDictExamItem);

    /**
     * 根据唯一编码查找检查项目信息
     *
     * @param code
     * @return
     */
    DictExamItem findByCode(@Param("code") String code);

    List<DictExamItem> find(DictExamItem paramDictExamItem);
}
